import Vue from 'vue'
import Router from 'vue-router'
//1
import no1 from './com/no1.vue'
import no2 from './com/no2.vue'

Vue.use(Router)
//2
  var routes = [
     	{path:'/',name:'no1',component:no1},
     	{path:'/no2',name:'no2',component:no2},
  ]
//3
   var router = new Router({
   		routes
   })

//4
  export default router


